home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / xdk_dev.jar / a / ByteBuffer.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-12-15  |  552 b   |  23 lines

  1. package a;
  2.  
  3. import java.io.IOException;
  4. import java.io.InputStream;
  5.  
  6. public class ByteBuffer extends InputBuffer {
  7.    // $FF: renamed from: a java.io.InputStream
  8.    transient InputStream field_0;
  9.  
  10.    public ByteBuffer(InputStream var1) {
  11.       this.field_0 = var1;
  12.    }
  13.  
  14.    public void fill(int var1) throws IOException {
  15.       ((InputBuffer)this).a();
  16.  
  17.       while(super.d.d < var1 + super.b) {
  18.          super.d.append((char)this.field_0.read());
  19.       }
  20.  
  21.    }
  22. }
  23.